package com.beehoo.dcportal.service;

import java.util.List;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.CommentBean;

public interface ICommentServ {
	/**
	 * 获取信息评论列表
	 * @param streetId
	 * @param msgType
	 * @param pageNo
	 * @param rows
	 * @return
	 * @throws BaseException
	 */
	public List<CommentBean> getCommentList(String streetId, String msgId, int pageNo, int pageRows) throws BaseException;
	
	/**
	 * 获取信息评论总数
	 * @param streetId
	 * @param msgType
	 * @return
	 * @throws BaseException
	 */
	public int getCommentCount(String streetId, String msgId) throws BaseException;
	
	/**
	 * 添加信息评论
	 * @param comment
	 * @return
	 * @throws BaseException
	 */
	public void addComment(CommentBean comment) throws BaseException;
}
